package gamenetworktest;


public class Wall_Section {
    private int health; // Health point of the wall section
            
    //constructor
    public Wall_Section() {
        
        health = 100;
    }
    
    // Increases health of the wall by given amount
    public void heal(int x) {
        health = health + x;
    }
    
    public int get_health() {
        return health;
    }
    
    public void setHealth(int no){
    	health = no;
    }
    
}
